<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateFdClientesTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateFdClientesLabel_cliente}" for="cliente" />
                    <h:inputText id="cliente" value="#{fdClientesController.selected.cliente}" title="#{bundle.CreateFdClientesTitle_cliente}" required="true" requiredMessage="#{bundle.CreateFdClientesRequiredMessage_cliente}"/>
                    <h:outputLabel value="#{bundle.CreateFdClientesLabel_nombre}" for="nombre" />
                    <h:inputText id="nombre" value="#{fdClientesController.selected.nombre}" title="#{bundle.CreateFdClientesTitle_nombre}" required="true" requiredMessage="#{bundle.CreateFdClientesRequiredMessage_nombre}"/>
                    <h:outputLabel value="#{bundle.CreateFdClientesLabel_ruc}" for="ruc" />
                    <h:inputText id="ruc" value="#{fdClientesController.selected.ruc}" title="#{bundle.CreateFdClientesTitle_ruc}" required="true" requiredMessage="#{bundle.CreateFdClientesRequiredMessage_ruc}"/>
                    <h:outputLabel value="#{bundle.CreateFdClientesLabel_interface1}" for="interface1" />
                    <h:inputText id="interface1" value="#{fdClientesController.selected.interface1}" title="#{bundle.CreateFdClientesTitle_interface1}" required="true" requiredMessage="#{bundle.CreateFdClientesRequiredMessage_interface1}"/>
                    <h:outputLabel value="#{bundle.CreateFdClientesLabel_estado}" for="estado" />
                    <h:inputText id="estado" value="#{fdClientesController.selected.estado}" title="#{bundle.CreateFdClientesTitle_estado}" required="true" requiredMessage="#{bundle.CreateFdClientesRequiredMessage_estado}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{fdClientesController.create}" value="#{bundle.CreateFdClientesSaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{fdClientesController.prepareList}" value="#{bundle.CreateFdClientesShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.CreateFdClientesIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
